<?php
/**
 * Created by PhpStorm.
 * User: xiao
 * Date: 2017/7/3
 * Time: 下午3:54
 */

namespace app\domain;


use app\src\claim\logic\ClaimLogic;

class ClaimDomain extends BaseDomain
{
    /**
     * 理赔公司列表不分页
     */
    public function queryList()
    {
        $this->checkVersion('100');

        $result = (new ClaimLogic)->claimList();

        if($result['status']){
            $this->apiReturnSuc($result['info']);
        }else{
            $this->apiReturnErr($result['info']);
        }
    }
}